package com.dao.impl;

import org.springframework.stereotype.Repository;

import com.dao.FirstCategoryDao;
import com.entity.FirstCategory;
@Repository
public class FirstCategoryDaoImpl extends BaseDaoImpl implements
		FirstCategoryDao {

	@Override
	public FirstCategory getFirstCategory(String hql) {
		return (FirstCategory) getSession().createQuery(hql).uniqueResult();
	}

}
